<#include "/layout/layout.ftl">
<#import "/layout/macro.ftl" as macro>
<#import "/layout/select.ftl" as my/>
<#assign css>
<#--此ftl中用到的css-->
    <style>
        .col-sm-9{
            padding-top:7px;
        }
    </style>
</#assign>
<#assign js>
<#--此ftl中用到的js-->
<script>
</script>
</#assign>
<@layout title="详情" active="orderEvaluate">
<!-- Content Header (Page header) -->
<section class="content-header">
	<h1>
		<small>订单评价详细信息</small>
	</h1>
	<ol class="breadcrumb">
		<li><a href="/"><i class="fa fa-home"></i> 管理后台</a></li>
		<li><a href="#"><i class="fa fa-list-ul"></i> 订单评价管理</a></li>
		<li class="active"><i class="fa fa-edit"></i>详细信息</li>
	</ol>
</section>
<!-- Main content -->
<section class="content">
	<div class="row">
		<div class="col-md-12">
			<!-- Default box -->
			<div class="box  box-primary">
				<form class="form-horizontal form-edit" method="post" action="">
					<div class="box-body">
						<#if orderEvaluate??>
							<input type="hidden" id="id" name="id" value="${orderEvaluate.id!}">
							<div class="form-group"><label class="col-sm-3 control-label">评价ID：</label><div class="col-sm-9">${orderEvaluate.id!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">订单ID：</label><div class="col-sm-9">${orderEvaluate.orderId!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">订单号：</label><div class="col-sm-9">${order.orderNo!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">订单状态：</label><div class="col-sm-9">${convert('ORDER_STATUS',order.status) !}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">订单金额：</label><div class="col-sm-9">${order.amount!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">服务星级：</label><div class="col-sm-9">${orderEvaluate.star!}星</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">评价内容：</label><div class="col-sm-9">${orderEvaluate.content!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">评价图片：</label>
								<#--<div class="col-sm-9">${orderEvaluate.images!}</div>-->
								<#list images as item>
									<img src="${item}" style="width:200px;"/>
								</#list>
							</div>
							<div class="form-group"><label class="col-sm-3 control-label">打赏金额：</label><div class="col-sm-9">${orderEvaluate.reward!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">打赏支付状态：</label><div class="col-sm-9">${convert('REWARD_PAY_STATUS',orderEvaluate.rewardStatus)!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">创建时间：</label><div class="col-sm-9">${(orderEvaluate.createAt?string('yyyy-MM-dd HH:mm:ss'))!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">更新时间：</label><div class="col-sm-9">${(orderEvaluate.updateAt?string('yyyy-MM-dd HH:mm:ss'))!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">用户ID：</label><div class="col-sm-9">${orderEvaluate.userId!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">用户手机号：</label><div class="col-sm-9" style="color:blue;">${user.username!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">用户昵称：</label><div class="col-sm-9">${user.nickname!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">师傅ID：</label><div class="col-sm-9">${orderEvaluate.masterId!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">师傅手机号：</label><div class="col-sm-9" style="color:blue;">${master.username!}</div></div>
							<div class="form-group"><label class="col-sm-3 control-label">师傅昵称：</label><div class="col-sm-9">${master.nickname!}</div></div>

						<#else>
							<div class="form-group"><label class="col-sm-6 control-label">暂无评价数据</label></div>
						</#if>
					</div>

					<div class="box-footer">
						<button type="button" class="btn btn-default btn-back">返回</button>
					</div>

				</form>
			</div>
			<!-- /.box -->
		</div>
	</div>
</section>
<!-- /.content -->
</@layout>
